import request from '@/utils/request'
import { Result, DeepRequired } from '../../interface'

/**
 * 查询招聘流程
 * /recruitProcess/getBystatus/{status}
 */
export function getRecruitProcessGetBystatusByStatus(
  params: GetRecruitProcessGetBystatusByStatusParams,
) {
  return request.get<DeepRequired<Result>>(
    `/recruitProcess/getBystatus/${params.status}`,
  )
}

interface GetRecruitProcessGetBystatusByStatusParams {
  status: number
}
